import request from '@/utils/request'

const url = '/vue-admin-template/menu/list'

export function menu_list() {
    return request({
        url,
        method: 'get',
    })
}

export function menu_create(data){
    return request({
        url,
        method: 'post',
        data,
    })
}
